package com.ffapp.rainmonitorcustom.basis;

import android.os.Environment;

public class Constants {

//	 public static final boolean DEBUG = false;
	public static final boolean DEBUG = true;

	// 正式服务器
//	 public static final String URL_SERVICE = "http://xfxf.four-faith.com/FourFaithXF/";
//	 public static final String URL_SERVICE = "http://47.99.32.215:9109";
	 public static final String URL_SERVICE = "";

	// 测试服务器-外网
//	 public static final String URL_SERVICE = "http://api.ukl-beta.suncco.com/";



//	public static String URL_API = URL_SERVICE+"api/v1/";
//	public static String URL_API = "http://47.99.32.215:9130/api/jzh";
//	public static String URL_TEST_API = "http://47.99.32.215:9130";
//public static String URL_API = "api/jzh";
public static String URL_API = "ffapi/syq";

	public static String URL_API_IMG = URL_API+"/api/v1/tmins/image?p=";


	//2.3 首页列表信息接口
	public static String URL_IMG_LIST = URL_API+"/imgListInfo.do ";

	//登录-登录
	public static String URL_LOGIN = URL_API+"/login.do";

    //GIS-地图
    public static String URL_MAP_LIST = URL_API+"/mapInfo.do";
    //首页基础信息接口
    public static String URL_INDEX_INFO = URL_API+"/indexInfo.do";
    //2.5 设备传感器要素详情接口
    public static String URL_MONITOR_DATA = URL_API+"/monitorSensorData.do";


	//告警-告警类型
	public static String URL_ALARM_INFO = URL_API+"/alarmInfo.do";
	//告警-系统公告
	public static String URL_SYS_ANN = URL_API+"/sysAnnounce.do";




















	//更新
	public static String URL_UPDATE= URL_API+"/api/v1/common/getAppVersion";


	//首页-设备信息和人员信息
	public static String URL_HOME_INFO = URL_API+"/api/v1/home.do";
	//首页-首页列表
//	public static String URL_HOME_LIST  = URL_API+"homeInfo.do";
	//首页-设备列表
	public static String URL_HOME_DEVICE_LIST  = URL_API+"/api/v1/devices.do";




	//流量监测
	public static String URL_FLOW_LIST  = URL_API+"/api/v1/flow.do";

	//图片接口
	public static String URL_PIC_LIST = URL_API+"/api/v1/images.do";


	//国家地区
	public static String URL_COUNTRY= URL_API+"System/country.json";

	//告警-告警列表
	public static String URL_ALARM_LIST = URL_API+"warning/getWarninglist";
	//告警-获取告警详情
	public static String URL_ALARM_DETAIL = URL_API+"warning/getWarningInfo";
	//告警-获取接警用户列表
	public static String URL_ALARM_USER_LIST = URL_API+"warning/getAlarmUserlist";
	//告警-告警处理-提交
	public static String URL_ALARM_POST = URL_API+"warning/warningDispose";
	//告警-告警类型
	public static String URL_ALARM_TYPE = URL_API+"warning/types";



    /*  分割线    以下为hsh写入的API  */
    //值班列表
    public static String URL_WORKFLOW_ONDUTY = URL_API + "/api/workflow/onduty.do";
    //运维计划列表
    public static String URL_WORKFLOW_OPERTASKLIST = URL_API + "/api/workflow/operTaskList.do";
    //通过id查询运维计划
    public static String URL_WORKFLOW_OPERTASKBYID = URL_API + "/api/workflow/operTaskById.do";
    //添加运维计划
    public static String URL_WORKFLOW_ADDOPERTASK = URL_API + "/api/workflow/addOperTask.do";
    //待办任务
    public static String URL_WORKFLOW_FINDTASKLIST = URL_API + "/api/workflow/findTaskList.do";
    //通过工作流id查询运维计划
    public static String URL_WORKFLOW_OPERTASKBYFLOWID = URL_API + "/api/workflow/operTaskByFlowId.do";
    //运维计划审核通过
    public static String URL_WORKFLOW_AGREECREATEOPERFORM = URL_API + "/api/workflow/agreeCreateOperForm.do";
    //运维计划审核拒绝
    public static String URL_WORKFLOW_REJECTCREATEOPERFORM = URL_API + "/api/workflow/rejectCreateOperForm.do";
    //查找工作流角色的所有用户
    public static String URL_WORKFLOW_GETUSERLIST = URL_API + "/api/workflow/getUserList.do";
    //故障管理列表
    public static String URL_WORKFLOW_FAULTREPORTLIST = URL_API + "/api/workflow/faultReportList.do";
    //通过id删除故障管理
    public static String URL_WORKFLOW_DELFAULTREPORT = URL_API + "/api/workflow/delFaultReport.do";
    //通过id查询故障管理
    public static String URL_WORKFLOW_FAULTREPORTBYID = URL_API + "/api/workflow/faultReportById.do";
    //添加故障管理
    public static String URL_WORKFLOW_SAVEFAULTREPORT = URL_API + "/api/workflow/saveFaultReport.do";
	//提交审核
    public static String URL_WORKFLOW_FAULTREPORTSTARTFLOW = URL_API + "/api/workflow/faultReportStartFlow.do";
	// 运维计划的提交审核
    public static String URL_WORKFLOW_OPERTASKSTARTFLOW = URL_API + "/api/workflow/operTaskStartFlow.do";
	// 运维计划有无故障
    public static String URL_WORKFLOW_FORMSTARTOPERTASKCOMPLETE = URL_API + "/api/workflow/formStartOperTaskComplete.do";
	// 完成运维计划
    public static String URL_WORKFLOW_AGREECOMPLETEOPERREVIEWFORM = URL_API + "/api/workflow/agreeCompleteOperReviewForm.do";
	// 提交故障排查
    public static String URL_WORKFLOW_SUBMITCHECKBREAKDOWNTASK = URL_API + "/api/workflow/submitCheckBreakdownTask.do";
	// 故障方案审核通过
    public static String URL_WORKFLOW_AGREEFORMREVIEWBREAKDOWNTASK = URL_API + "/api/workflow/agreeFormReviewBreakdownTask.do";
	// 故障方案审核拒绝
    public static String URL_WORKFLOW_REJECTFORMREVIEWBREAKDOWNTASK = URL_API + "/api/workflow/rejectFormReviewBreakdownTask.do";
	// 排除故障提交
    public static String URL_WORKFLOW_SUBMITSOLVEBREAKDOWNTASK = URL_API + "/api/workflow/submitSolveBreakdownTask.do";
	// 确认排除故障
    public static String URL_WORKFLOW_SUBMITCONFIRMBREAKSOWNTASK = URL_API + "/api/workflow/submitConfirmBreakdownTask.do";
	// 软件故障维修单
    public static String URL_WORKFLOW_SAVEADDFAULTMAINTEN = URL_API + "/api/workflow/SaveAddFaultMainten.do";
	// 设备故障检查单
    public static String URL_WORKFLOW_SAVEADDFAULTCHECK = URL_API + "/api/workflow/SaveAddFaultCheck.do";
	// 维修现场安全确认单
    public static String URL_WORKFLOW_SAVEADDMAINTENCONFIRM = URL_API + "/api/workflow/SaveAddMaintenConfirm.do";
	// 维修详细情况步骤
    public static String URL_WORKFLOW_SAVEADDMAINTENDETAIL = URL_API + "/api/workflow/SaveAddMaintenDetail.do";
	// 故障排除情况
    public static String URL_WORKFLOW_SAVEADDMAINTENDETAILNEW = URL_API + "/api/workflow/SaveAddMaintenDetailNew.do";
	// 维修完成确认
    public static String URL_WORKFLOW_SAVEADDMAINTENCOMPLETE= URL_API + "/api/workflow/SaveAddMaintenComplete.do";
	// 通过工作流id查询故障管理
    public static String URL_WORKFLOW_FAULTREPORTBYFLOWID= URL_API + "/api/workflow/faultReportByFlowId.do";






	//登录-登录
	public static String URL_LOG_OUT = URL_API+"/api/v1/logout";
	//登录-短信验证码
	public static String URL_LOGIN_MSGCODE = URL_API+"User/sendCode.json";
	//登录-注销
	public static String URL_LOGIN_LOGOUT = URL_API+"logout";
	//用户-修改密码
	public static String URL_USER_MODIFY_PWD= URL_API+"/api/v1/changePwd.do";
	//我的-获取当前用户的消息列表
	public static String URL_USER_MSG_LIST= URL_API+"common/getAppMessage";
	//我的-获取当前用户的消息列表
	public static String URL_USER_MSG_SETREAD = URL_API+"common/updateMessageRead";


	public static String FILE_PREFIX = "file://";
	public static String DRAWABLE_PREFIX = "drawable://";
	public static int PAGE_SIZE = 20;

	public static final String TEL = "";

	public static final long TIME_DELAY = 500;


	/**
	 * 程序目录
	 */
	public static final String DIR = Environment.getExternalStorageDirectory()
			+ "/FFYWJCPT/";
	public static final String DIR_IN = BasisApp.getInstance().getFilesDir().getPath()
			+ "/";

	public static final String DIR_DOWNLOAD = DIR + "download/";
	public static final String DIR_TEMP = DIR + "temp/";
	public static final String DIR_LOG = DIR + "log/";
	public static final String DIR_FILE = DIR + "file/";
	public static final String DIR_FILECACHE = DIR + "file/";



}
